﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
using WebApi2b.Data.Entity;

namespace WebApi2b.Data
{
    public class Admin10086DbContext : DbContext
    {


        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer("server=.;database=Admin10086;uid=sa;password=123456;");
        }

        public DbSet<Users> Users { get; set; }

        public DbSet<Roles> Roles { get; set; }

        public DbSet<Logs> Logs { get; set; }
    }
}
